/*
* @author dumeng
*/
'use strict'
import request from '@/utils/request'
/**
 * 列表查询
 */
export function queryList(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/courseInfo/querySubject',
    method: 'POST',
    data
  })
}

/**
 * 删除
 */
export function deleteCourseware(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: 'backend/courseInfo/deleteRelevance',
    method: 'POST',
    data
  })
}
/**
 * 关联课件
 */
export function relevanceSubject(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/courseInfo/relevanceSubject',
    method: 'POST',
    data
  })
}
/**
 * 排序
 */
export function bySort(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/courseInfo/sortRelevance',
    method: 'POST',
    data
  })
}

